package com.mingtu.jgspatrol.bean;

import java.util.List;

public class MyDeptNameBean {

    /**
     * msg : success
     * code : 0
     * deptList : [{"deptId":1,"parentId":0,"name":"大别山保护区","parentName":null,"orderNum":0,"delFlag":0,"open":null,"list":null},{"deptId":2,"parentId":1,"name":"西河保护站","parentName":"大别山保护区","orderNum":0,"delFlag":0,"open":null,"list":null},{"deptId":3,"parentId":1,"name":"东河保护站","parentName":"大别山保护区","orderNum":0,"delFlag":0,"open":null,"list":null},{"deptId":199,"parentId":0,"name":"明图公司","parentName":null,"orderNum":1,"delFlag":0,"open":null,"list":null}]
     */

    private String msg;
    private int code;
    private List<DeptListBean> deptList;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<DeptListBean> getDeptList() {
        return deptList;
    }

    public void setDeptList(List<DeptListBean> deptList) {
        this.deptList = deptList;
    }

    public static class DeptListBean {
        /**
         * deptId : 1
         * parentId : 0
         * name : 大别山保护区
         * parentName : null
         * orderNum : 0
         * delFlag : 0
         * open : null
         * list : null
         */

        private int deptId;
        private int parentId;
        private String name;
        private Object parentName;
        private int orderNum;
        private int delFlag;
        private Object open;
        private Object list;

        public int getDeptId() {
            return deptId;
        }

        public void setDeptId(int deptId) {
            this.deptId = deptId;
        }

        public int getParentId() {
            return parentId;
        }

        public void setParentId(int parentId) {
            this.parentId = parentId;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public Object getParentName() {
            return parentName;
        }

        public void setParentName(Object parentName) {
            this.parentName = parentName;
        }

        public int getOrderNum() {
            return orderNum;
        }

        public void setOrderNum(int orderNum) {
            this.orderNum = orderNum;
        }

        public int getDelFlag() {
            return delFlag;
        }

        public void setDelFlag(int delFlag) {
            this.delFlag = delFlag;
        }

        public Object getOpen() {
            return open;
        }

        public void setOpen(Object open) {
            this.open = open;
        }

        public Object getList() {
            return list;
        }

        public void setList(Object list) {
            this.list = list;
        }
    }
}
